<template>
  <div>
    <NanjingMapChart :cdata="cdata" />
  </div>
</template>

<script>

import NanjingMapChart from "@/components/echart/map/nanjingMapChart.vue";

export default {
  data() {
    return {
      cdata: [
        {
          name: '南京市',
          value: 10,
          elseData: {
            // 这里放置地图 tooltip 里想显示的数据
          }
        },
        {
          name: '高淳区',
          value: 11
        },
        {
          name: '溧水区',
          value: 10
        },
        {
          name: '六合区',
          value: 9
        },
        {
          name: '江宁区',
          value: 8,
        },
        {
          name: '雨花台区',
          value: 7,
        },
        {
          name: '栖霞区',
          value: 6,
        },
        {
          name: '浦口区',
          value: 5,
        },
        {
          name: '鼓楼区',
          value: 4,
        },
        {
          name: '建邺区',
          value: 3,
        },
        {
          name: '秦淮区',
          value: 2,
        },
        {
          name: '玄武区',
          value: 1,
        }
      ]
    }
  },
  components: {
    NanjingMapChart,
  },
  mounted() {
  },
  methods: {}
}
</script>

<style lang="scss" scoped>
</style>
